<%= form_for(@student_evaluation_first) do |f| %>
    <% if @student_evaluation_first.errors.any? %>
        <div class="fberrorbox" id="error_explanation">
          <h2><%= pluralize(@student_evaluation_first.errors.count, "error") %>
            prohibited this student_evaluation_first from being saved:</h2>

          <ul>
            <% @student_evaluation_first.errors.full_messages.each do |msg| %>
                <li><%= msg %></li>
            <% end %>
          </ul>
        </div>
    <% end %>

    <div class="fbbluebox">
      <div class="fbgreybox"><h2>Personal Information</h2></div>

      <div class="field">
        <%= f.label :student_id %><br />
        <%= f.text_field :student_id %>
      </div>
      <div class="field">
        <%= f.label :employer_name, 'Company name' %><br />

      </div>
      <div class="field">
        <%= f.label :evaluator_name %><br />
        <%= f.text_field :evaluator_name %>
      </div>
      <div class="field">
        <%= f.label :evaluator_position %><br />
        <%= f.text_field :evaluator_position %>
      </div>
      <div class="field">
        <%= f.label :evaluator_department %><br />
        <%= f.text_field :evaluator_department %>
      </div>
    </div><br />

    <div class="fbbluebox">
      <div class="fbgreybox"><h2>Work Achievement</h2></div>

      <table frame="void" rules="all">
        <tr>
          <th width="300" align="center">Items</th>
          <th width="100" align="center">Poor</th>
          <th width="100" align="center">Fair</th>
          <th width="100" align="center">Average</th>
          <th width="100" align="center">Very good</th>
          <th width="100" align="center">Excellent</th>
        </tr>

        <tr>
          <td>
            <%= f.label :quantity_of_work, 'Quantity of Work' %><br />
          </td>
          <td style="text-align:center;">
            <%= f.radio_button(:quantity_of_work, 1) %>
          </td><td style="text-align:center;">
          <%= f.radio_button(:quantity_of_work, 2) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:quantity_of_work, 3) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:quantity_of_work, 4) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:quantity_of_work, 5) %>
        </td>
        </tr>


        <tr >
          <td>
            <%= f.label :quality_of_work, 'Quality of Work' %><br />
          </td>
          <td style="text-align:center;">
            <%= f.radio_button(:quality_of_work, 1) %>
          </td><td style="text-align:center;">
          <%= f.radio_button(:quality_of_work, 2) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:quality_of_work, 3) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:quality_of_work, 4) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:quality_of_work, 5) %>
        </td>

        </tr>
        <tr>
          <td>
            <%= f.label :academic_ability, 'Academic Ability' %><br />
          </td>
          <td style="text-align:center;">
            <%= f.radio_button(:academic_ability, 1) %>
          </td><td style="text-align:center;">
          <%= f.radio_button(:academic_ability, 2) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:academic_ability, 3) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:academic_ability, 4) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:academic_ability, 5) %>
        </td>
        </tr>
      </table>
    </div>
    <br />

    <div class="fbbluebox">
      <div class="fbgreybox"><h2>Knowledge and Ability</h2></div>

      <table frame="void" rules="all">
        <tr>
          <th width="300" align="center">Items</th>
          <th width="100" align="center">Poor</th>
          <th width="100" align="center">Fair</th>
          <th width="100" align="center">Average</th>
          <th width="100" align="center">Very good</th>
          <th width="100" align="center">Excellent</th>
        </tr>

        <tr>
          <td>
            <%= f.label :ability_to_learn, 'Ability to Learn and Apply Knowledge' %><br />
          </td>
          <td style="text-align:center;">
            <%= f.radio_button(:ability_to_learn, 1) %>
          </td><td style="text-align:center;">
          <%= f.radio_button(:ability_to_learn, 2) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:ability_to_learn, 3) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:ability_to_learn, 4) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:ability_to_learn, 5) %>
        </td>
        </tr>

        <tr>
          <td>
            <%= f.label :practical_ability, 'Practical Ability' %><br />
          </td>
          <td style="text-align:center;">
            <%= f.radio_button(:practical_ability, 1) %>
          </td><td style="text-align:center;">
          <%= f.radio_button(:practical_ability, 2) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:practical_ability, 3) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:practical_ability, 4) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:practical_ability, 5) %>
        </td>
        </tr>

        <tr>
          <td>
            <%= f.label :judgment, 'Judgment and Decision Making' %><br />
          </td>
          <td style="text-align:center;">
            <%= f.radio_button(:judgment, 1) %>
          </td><td style="text-align:center;">
          <%= f.radio_button(:judgment, 2) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:judgment, 3) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:judgment, 4) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:judgment, 5) %>
        </td>
        </tr>

        <tr>
          <td>
            <%= f.label :management, 'Management and Planing' %><br />
          </td>
          <td style="text-align:center;">
            <%= f.radio_button(:management, 1) %>
          </td><td style="text-align:center;">
          <%= f.radio_button(:management, 2) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:management, 3) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:management, 4) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:management, 5) %>
        </td>
        </tr>

        <tr>
          <td>
            <%= f.label :communication, 'Communication Skill' %><br />
          </td>
          <td style="text-align:center;">
            <%= f.radio_button(:communication, 1) %>
          </td><td style="text-align:center;">
          <%= f.radio_button(:communication, 2) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:communication, 3) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:communication, 4) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:communication, 5) %>
        </td>
        </tr>

        <tr>
          <td>
            <%= f.label :foreign_language, 'Foreign Language and Cultural Development' %><br />
          </td>
          <td style="text-align:center;">
            <%= f.radio_button(:foreign_language, 1) %>
          </td><td style="text-align:center;">
          <%= f.radio_button(:foreign_language, 2) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:foreign_language, 3) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:foreign_language, 4) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:foreign_language, 5) %>
        </td>
        </tr>

        <tr>
          <td>
            <%= f.label :suitability, 'Suitability for Job Position' %><br />
          </td>
          <td style="text-align:center;">
            <%= f.radio_button(:suitability, 1) %>
          </td><td style="text-align:center;">
          <%= f.radio_button(:suitability, 2) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:suitability, 3) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:suitability, 4) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:suitability, 5) %>
        </td>
        </tr>
      </table>

    </div><br />

    <div class="fbbluebox">
      <div class="fbgreybox"><h2>Responsibility</h2></div>

      <table frame="void" rules="all">
        <tr>
          <th width="300" align="center">Items</th>
          <th width="100" align="center">Poor</th>
          <th width="100" align="center">Fair</th>
          <th width="100" align="center">Average</th>
          <th width="100" align="center">Very good</th>
          <th width="100" align="center">Excellent</th>
        </tr>

        <tr>
          <td>
            <%= f.label :responsibility, 'Responsibility and Dependability' %><br />
          </td>
          <td style="text-align:center;">
            <%= f.radio_button(:responsibility, 1) %>
          </td><td style="text-align:center;">
          <%= f.radio_button(:responsibility, 2) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:responsibility, 3) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:responsibility, 4) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:responsibility, 5) %>
        </td>
        </tr>

        <tr>
          <td>
            <%= f.label :interest_in_work, 'Interest in Work' %><br />
          </td>
          <td style="text-align:center;">
            <%= f.radio_button(:interest_in_work, 1) %>
          </td><td style="text-align:center;">
          <%= f.radio_button(:interest_in_work, 2) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:interest_in_work, 3) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:interest_in_work, 4) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:interest_in_work, 5) %>
        </td>
        </tr>

        <tr>
          <td>
            <%= f.label :imitative, 'Imitative of Self Starter' %><br />
          </td>
          <td style="text-align:center;">
            <%= f.radio_button(:imitative, 1) %>
          </td><td style="text-align:center;">
          <%= f.radio_button(:imitative, 2) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:imitative, 3) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:imitative, 4) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:imitative, 5) %>
        </td>
        </tr>

        <tr>
          <td>
            <%= f.label :response_to_supervision, 'Response to Supervision' %><br />
          </td>
          <td style="text-align:center;">
            <%= f.radio_button(:response_to_supervision, 1) %>
          </td><td style="text-align:center;">
          <%= f.radio_button(:response_to_supervision, 2) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:response_to_supervision, 3) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:response_to_supervision, 4) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:response_to_supervision, 5) %>
        </td>
        </tr>

      </table>
    </div><br />

    <div class="fbbluebox">
      <div class="fbgreybox"><h2>Personality</h2></div>

      <table frame="void" rules="all">
        <tr>
          <th width="300" align="center">Items</th>
          <th width="100" align="center">Poor</th>
          <th width="100" align="center">Fair</th>
          <th width="100" align="center">Average</th>
          <th width="100" align="center">Very good</th>
          <th width="100" align="center">Excellent</th>
        </tr>

        <tr>
          <td>
            <%= f.label :personality, 'Personality' %><br />
          </td>
          <td style="text-align:center;">
            <%= f.radio_button(:personality, 1) %>
          </td><td style="text-align:center;">
          <%= f.radio_button(:personality, 2) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:personality, 3) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:personality, 4) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:personality, 5) %>
        </td>
        </tr>

        <tr>
          <td>
            <%= f.label :interpersonal_skill, 'Interpersonal Skills' %><br />
          </td>
          <td style="text-align:center;">
            <%= f.radio_button(:interpersonal_skill, 1) %>
          </td><td style="text-align:center;">
          <%= f.radio_button(:interpersonal_skill, 2) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:interpersonal_skill, 3) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:interpersonal_skill, 4) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:interpersonal_skill, 5) %>
        </td>
        </tr>

        <tr>
          <td>
            <%= f.label :discipline, 'Discipline and Adaptability to Formal Organization' %><br />
          </td>
          <td style="text-align:center;">
            <%= f.radio_button(:discipline, 1) %>
          </td><td style="text-align:center;">
          <%= f.radio_button(:discipline, 2) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:discipline, 3) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:discipline, 4) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:discipline, 5) %>
        </td>
        </tr>

        <tr>
          <td>
            <%= f.label :ethics, 'Ethics and Morality' %><br />
          </td>
          <td style="text-align:center;">
            <%= f.radio_button(:ethics, 1) %>
          </td><td style="text-align:center;">
          <%= f.radio_button(:ethics, 2) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:ethics, 3) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:ethics, 4) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:ethics, 5) %>
        </td>
        </tr>
      </table>
    </div><br />

    <div class="fbbluebox">
      <div class="fbgreybox"><h2>Comments on student</h2></div>
      <div class="field">
        <%= f.label :student_strength %><br />
        <%= f.text_area :student_strength, :rows => "10", :cols => "80" %>
      </div>
      <div class="field">
        <%= f.label :student_improvement, 'Student weakness' %><br />
        <%= f.text_area :student_improvement, :rows => "10", :cols => "80" %>
      </div>
    </div><br />

    <div class="fbbluebox">
      <div class="fbgreybox"><h2>Other comment</h2></div>
      <div class="field">
        <%= f.label :other_comment %><br />
        <%= f.text_area :other_comment, :rows => "10", :cols => "80" %>
      </div>
    </div><br />

    <div class="fbbluebox">
      <div class="fbgreybox"><h2>Evaluation date</h2></div>
      <div class="field">
        <%= f.label :evaluation_date %><br />
      </div>
    </div><br />

    <div class="fbgreyboxbuttom">
      <div class="actions">
        <%= f.submit %>
      </div>
    </div><br />

<% end %>
